package logo.utils;

@SuppressWarnings("serial")
public class QueueFullException extends Exception {

    Object bouncedItem;

    public QueueFullException(int cap, Object item) {
	super("Could not add item " + item +
	      "to queue with capacity " + cap);
	bouncedItem = item;
    }
}
